package com.itheima.mall.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 运费模板
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("pms_feight_template")
public class FeightTemplate {

    private Long id;
    private String name;
    private Integer chargeType;         //计费类型:0->按重量；1->按件数
    private BigDecimal firstWeight;         //首重kg
    private BigDecimal firstFee;            //首费（元）
    private BigDecimal continueWeight;
    private BigDecimal continmeFee;
    private String dest;                    //目的地（省、市）

}
